package icu.honeysuccess.enums;

/**
 * @author Honey
 * @date 2022/3/5
 */
public enum AppointStateEnum {

    SUCCESS(1, "预约成功"),
    NO_NUMBER(0, "库存不足"),
    REPEAT_APPOINT(1, "重复预约"),
    INNER_ERROR(-2, "系统异常");

    private int state;
    private String stateInfo;

    AppointStateEnum(int state, String stateInfo) {
        this.state = state;
        this.stateInfo = stateInfo;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getStateInfo() {
        return stateInfo;
    }

    public void setStateInfo(String stateInfo) {
        this.stateInfo = stateInfo;
    }

}
